\section{ec\+\_\+fsm\+\_\+pdo Struct Reference}
\label{structec__fsm__pdo}\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}


P\+DO configuration state machine.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
void($\ast$ \textbf{ state} )(\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+t} $\ast$, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em State function. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+fsm\+\_\+coe\+\_\+t} $\ast$ \textbf{ fsm\+\_\+coe}
\begin{DoxyCompactList}\small\item\em CoE state machine to use. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} \textbf{ fsm\+\_\+pdo\+\_\+entry}
\begin{DoxyCompactList}\small\item\em P\+DO entry state machine. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+pdo\+\_\+list\+\_\+t} \textbf{ pdos}
\begin{DoxyCompactList}\small\item\em P\+DO configuration. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t} \textbf{ request}
\begin{DoxyCompactList}\small\item\em S\+DO request. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+pdo\+\_\+t} \textbf{ slave\+\_\+pdo}
\begin{DoxyCompactList}\small\item\em P\+DO actually appearing in a slave. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+slave\+\_\+t} $\ast$ \textbf{ slave}
\begin{DoxyCompactList}\small\item\em Slave the F\+SM runs on. \end{DoxyCompactList}\item 
uint8\+\_\+t \textbf{ sync\+\_\+index}
\begin{DoxyCompactList}\small\item\em Current sync manager index. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+sync\+\_\+t} $\ast$ \textbf{ sync}
\begin{DoxyCompactList}\small\item\em Current sync manager. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+pdo\+\_\+t} $\ast$ \textbf{ pdo}
\begin{DoxyCompactList}\small\item\em Current P\+DO. \end{DoxyCompactList}\item 
unsigned int \textbf{ pdo\+\_\+pos}
\begin{DoxyCompactList}\small\item\em Assignment position of current P\+D\+Os. \end{DoxyCompactList}\item 
unsigned int \textbf{ pdo\+\_\+count}
\begin{DoxyCompactList}\small\item\em Number of assigned P\+D\+Os. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
P\+DO configuration state machine. 

Definition at line 54 of file fsm\+\_\+pdo.\+h.



\subsection{Field Documentation}
\mbox{\label{structec__fsm__pdo_aa7bdf199bd64fa5dadb0501d63c281a2}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!state@{state}}
\index{state@{state}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{state}
{\footnotesize\ttfamily void($\ast$ ec\+\_\+fsm\+\_\+pdo\+::state) (\textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+t} $\ast$, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$)}



State function. 



Definition at line 56 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_af81a92fdb4a376a02c5f0a1cf60917b4}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!fsm\+\_\+coe@{fsm\+\_\+coe}}
\index{fsm\+\_\+coe@{fsm\+\_\+coe}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{fsm\+\_\+coe}
{\footnotesize\ttfamily \textbf{ ec\+\_\+fsm\+\_\+coe\+\_\+t}$\ast$ ec\+\_\+fsm\+\_\+pdo\+::fsm\+\_\+coe}



CoE state machine to use. 



Definition at line 57 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_aee68eda7245e56950c5409bf92c36c7d}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!fsm\+\_\+pdo\+\_\+entry@{fsm\+\_\+pdo\+\_\+entry}}
\index{fsm\+\_\+pdo\+\_\+entry@{fsm\+\_\+pdo\+\_\+entry}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{fsm\+\_\+pdo\+\_\+entry}
{\footnotesize\ttfamily \textbf{ ec\+\_\+fsm\+\_\+pdo\+\_\+entry\+\_\+t} ec\+\_\+fsm\+\_\+pdo\+::fsm\+\_\+pdo\+\_\+entry}



P\+DO entry state machine. 



Definition at line 58 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_ac1519353602acca12353ea0719a6ba85}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!pdos@{pdos}}
\index{pdos@{pdos}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{pdos}
{\footnotesize\ttfamily \textbf{ ec\+\_\+pdo\+\_\+list\+\_\+t} ec\+\_\+fsm\+\_\+pdo\+::pdos}



P\+DO configuration. 



Definition at line 59 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a437105cab7019aad6aed6d5cf6326e4a}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!request@{request}}
\index{request@{request}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{request}
{\footnotesize\ttfamily \textbf{ ec\+\_\+sdo\+\_\+request\+\_\+t} ec\+\_\+fsm\+\_\+pdo\+::request}



S\+DO request. 



Definition at line 60 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a83ce3aec31b10b4941c60088ac1c4a10}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!slave\+\_\+pdo@{slave\+\_\+pdo}}
\index{slave\+\_\+pdo@{slave\+\_\+pdo}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{slave\+\_\+pdo}
{\footnotesize\ttfamily \textbf{ ec\+\_\+pdo\+\_\+t} ec\+\_\+fsm\+\_\+pdo\+::slave\+\_\+pdo}



P\+DO actually appearing in a slave. 



Definition at line 61 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a659ca1e17ea96e9be327dd65eea054e4}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!slave@{slave}}
\index{slave@{slave}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{slave}
{\footnotesize\ttfamily \textbf{ ec\+\_\+slave\+\_\+t}$\ast$ ec\+\_\+fsm\+\_\+pdo\+::slave}



Slave the F\+SM runs on. 



Definition at line 63 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a8b69e76c8f517ca1d7e8d782122ce7b8}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!sync\+\_\+index@{sync\+\_\+index}}
\index{sync\+\_\+index@{sync\+\_\+index}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{sync\+\_\+index}
{\footnotesize\ttfamily uint8\+\_\+t ec\+\_\+fsm\+\_\+pdo\+::sync\+\_\+index}



Current sync manager index. 



Definition at line 64 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a38e76d6856ae5035b91bf5b0850218ad}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!sync@{sync}}
\index{sync@{sync}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{sync}
{\footnotesize\ttfamily \textbf{ ec\+\_\+sync\+\_\+t}$\ast$ ec\+\_\+fsm\+\_\+pdo\+::sync}



Current sync manager. 



Definition at line 65 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a437d446a8f8d784d8622ed302b3d51a1}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!pdo@{pdo}}
\index{pdo@{pdo}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{pdo}
{\footnotesize\ttfamily \textbf{ ec\+\_\+pdo\+\_\+t}$\ast$ ec\+\_\+fsm\+\_\+pdo\+::pdo}



Current P\+DO. 



Definition at line 66 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_aec477e3e790d99da798a44e7523c0508}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!pdo\+\_\+pos@{pdo\+\_\+pos}}
\index{pdo\+\_\+pos@{pdo\+\_\+pos}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{pdo\+\_\+pos}
{\footnotesize\ttfamily unsigned int ec\+\_\+fsm\+\_\+pdo\+::pdo\+\_\+pos}



Assignment position of current P\+D\+Os. 



Definition at line 67 of file fsm\+\_\+pdo.\+h.

\mbox{\label{structec__fsm__pdo_a60d790b9858292f2229115dabc994c08}} 
\index{ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}!pdo\+\_\+count@{pdo\+\_\+count}}
\index{pdo\+\_\+count@{pdo\+\_\+count}!ec\+\_\+fsm\+\_\+pdo@{ec\+\_\+fsm\+\_\+pdo}}
\subsubsection{pdo\+\_\+count}
{\footnotesize\ttfamily unsigned int ec\+\_\+fsm\+\_\+pdo\+::pdo\+\_\+count}



Number of assigned P\+D\+Os. 



Definition at line 68 of file fsm\+\_\+pdo.\+h.

